<template>
  <div class="qrcode-wrapper">
    <h2>
      <span class="s1" @click="goBack()"> <van-icon name="arrow-left" /> </span>
      认证
    </h2>
    <header class="header">
      <div class="header1">请选择合适的认证方式</div>
      <div class="logo">
        <!-- <p class="q1"> <van-icon name="idcard" color="#FF0000" size="24px"/> 使用 关联银行卡信息 <van-icon name="arrow" /></p>
        <p class="q1"> <van-icon name="orders-o" color="#FF0000" size="24px"/> 使用 手机短信验证码<van-icon name="arrow" /></p> -->

        <p class="q1">
          <van-icon name="idcard" color="#FF0000" size="24px"  class="n1"/>
          <span class="text">使用 关联银行卡信息</span>
          <span class="icon-wrapper"><van-icon name="arrow" /></span></p>

       <p class="q1">
          <van-icon name="orders-o" color="#FF0000" size="24px" class="n1"/>
          <span class="text">使用 手机短信验证码</span>
          <span class="icon-wrapper"><van-icon name="arrow" /></span></p>
      </div>
    </header>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    goBack() {
      this.$router.back(-1);
    },
  },
};
</script>

<style scoped>
.qrcode-wrapper {
  width: 100%;
  height: 100%;
  background: #f6f6f6;
}
.s1 {
  position: absolute;
  left: 10px;
}
h2 {
  text-align: center;
  padding-top: 10px;
  padding-bottom: 10px;
  position: relative;
  background: #fff;
}

.header1 {
  height: 50px;
  line-height: 50px;
  padding-left: 15px;
  font-size: 18px;
}
.q1 {
  background: #fff;
  height: 40px;
  line-height: 40px;
  border-bottom: 1px solid #ccc;
  position: relative;
  padding-right: 24px; /* 保证有足够的空间容纳箭头 */
}
.icon-wrapper {
  position: absolute;
  top: 0;
  right: 0;
}
.n1{
  margin: 1px 9px;
}
</style>